package com.register.client.domian;

/**
 * 注册响应结果
 */
public enum Response {
    SUCCESS("SUCCESS", "成功"),
    FAILE("FAILE", "失败");

    Response(String code, String message) {
        this.code = code;
        this.message = message;
    }

    /**
     * 返回码
     */
    private String code;

    /**
     * 消息
     */
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
